<script setup>
import router from '@/router';
import { HOME } from '@/router/routeMap';

defineProps({
  width: Number
})

const onClickLogo = () => {
  router.push(HOME)
}
</script>

<template>
  <img alt="logo" src="@/assets/img/logo_light.png" @click="onClickLogo" :width="width" />
</template>

<style lang="sass" scoped>

img
  width: 100px
  cursor: pointer
</style>